package com.nightpiter.view.graphics.impl.factories;

import com.nightpiter.view.graphics.abstaractions.AbstractLinearGradient;
import com.nightpiter.view.graphics.factories.LinearGradientFactory;
import com.nightpiter.view.graphics.impl.AndroidLinearGradient;

public class AndroidLinearGradientFactory extends LinearGradientFactory {

	@Override
	public AbstractLinearGradient create(float x0, float y0, float x1, float y1,
			int color0, int color1) {
		return new AndroidLinearGradient(x0, y0, x1, y1, color0, color1);
	}

	@Override
	public AbstractLinearGradient create(float x0, float y0, float x1,
			float y1, int[] colors, float[] positions) {
		return  new AndroidLinearGradient(x0, y0, x1, y1, colors, positions);
	}

}
